import { request } from '@/utils/request.js';

const url = '/adminapi/systemFile/';

/**
 * 列表
 */
export function apiList(params) {
  return request({
    url: `${url}index`,
    method: 'get',
    params: params,
  });
}

/**
 * 操作
 */
export function apiHandle(data) {
  return request({
    url: `${url}handle`,
    method: 'post',
    data: data,
  });
}
